#ifndef STORAGE_H_
#define STORAGE_H_

#include <gtkmm.h>

#ifndef JTASKM_CONFIG_DIR
#define JTASKM_CONFIG_DIR "jtaskm"
#endif

typedef struct _jtaskm_config_struct {
	gint     xpos;
	gint     ypos;
	gint     width;
	gint     height;
	gboolean visible;
} JTaskmConfig;

typedef struct  _jtaskm_globals_struct {
//	GtkListStore  *itemstore;  // GtkListStore for the list of items
	Gtk::Builder    *uibuilder;  // UI Builder
	gchar         *configdir;  // Configuration directory path
	JTaskmConfig  *config;     // Configuration Data
	guint          save_tag;   // Data save timeout tag - see g_timeout_add()
} JTaskmGlobals;

typedef struct _jtaskm_data_struct {
	gboolean  done;
	gchar    *text;
} JTaskmItem;	

// Column names & order ENUM
typedef enum {
	JT_COLUMN_DONE,
	JT_COLUMN_TEXT,
	JT_COLUMN_COLOR
} JTaskmColumn;

static JTaskmGlobals *globs;

#endif /*STORAGE_H_*/
